package com.hoshiicloud.marketmanagement.feign.hystrix;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.goods.entity.sku.ProductManage;
import com.hoshiicloud.goods.param.sku.ProductManageQueryParam;
import com.hoshiicloud.marketmanagement.feign.GoodsService;
import java.util.List;
import javax.validation.Valid;

/**
 * @author MarkerCCC
 * @date 2019-09-18 - 09:55
 */
public class HystrixGoodsFeignFallback implements GoodsService {

    @Override
    public Response page(@Valid ProductManageQueryParam param) {
        return Response.failed("hoshiicloud-goods查询ProductManage分页信息失败");
    }

    @Override
    public Response<List<ProductManage>> list(ProductManageQueryParam param) {
        return Response.failed("hoshiicloud-goods查询ProductManage信息失败");
    }
}
